#include <stdio.h>
#define PERIOD '.'

int main(void)
{
    printf("\n");

    char ch;
    int char_count = 0;
    while ((ch = getchar()) != PERIOD)
    {
        if (ch != '"' && ch != '\'')
        {
            char_count++;
        }
    }
    printf("There are %d non-quote characters.\n", char_count);

    return 0;
}